package com.ruoyi.process.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 农事提醒对象 argo_remind
 * 
 * @author qhr
 * @date 2024-02-27
 */
public class ArgoRemind extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 农事提醒代号 */
    private Long id;

    /** 农事过程代号 */
    @Excel(name = "农事过程代号")
    private Long processId;

    /** 地块代号 */
    @Excel(name = "地块代号")
    private Long landId;

    /** 0:已完成,1:未完成 提醒i次 */
    @Excel(name = "0:已完成,1:未完成 提醒i次")
    private Long state;

    /** 0 逻辑删除,1 删除 */
    private String delFlag;

    private String processDepict;

    private String deptName;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getProcessDepict() {
        return processDepict;
    }

    public void setProcessDepict(String processDepict) {
        this.processDepict = processDepict;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setProcessId(Long processId) 
    {
        this.processId = processId;
    }

    public Long getProcessId() 
    {
        return processId;
    }
    public void setLandId(Long landId) 
    {
        this.landId = landId;
    }

    public Long getLandId() 
    {
        return landId;
    }
    public void setState(Long state) 
    {
        this.state = state;
    }

    public Long getState() 
    {
        return state;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("processId", getProcessId())
            .append("processDepict", getProcessDepict())
            .append("landId", getLandId())
            .append("deptName",getDeptName())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("state", getState())
            .append("remark", getRemark())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
